var express = require('express');
var router = express.Router();
var api_v1 = require('./api/v1');

router.use('/v1', api_v1);

router.get('/', function(req, res, next) {
  res.send('respond with a resource in api.js');
});

router.post('/', function (req, res) {
  res.send('POST request to the homepage in api.js');
});

module.exports = router;